vScriptValTrimElement
Extract a range of elements from a ScriptVal array as a table This node is useful for creating animated vector graphics that are revealed over time when your 2D point data is encoded into a ScriptVal Lua table structure that represents a polyline shape.
Core / ScriptValScriptVal

Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| ScriptVal | DATATYPE | — | ScriptVal array to trim, e.g. a polyline's point list. |
| From | Integer | 1 | 1-based index of the first element to keep. Animate together with To to reveal a shape over time. |
| To | Integer | 1 | 1-based index of the last element to keep. |
| Step | Integer | 1 | Interval between kept elements — 1 keeps every element, 2 keeps every other, and so on. |
| Show Input | Integer | 1.0 | Reveals the wire for the ScriptVal connection in the Flow view. |